Optimal. Leaf size=44 \[ \frac {(a+b x)^6 (A b-7 a B)}{42 a^2 x^6}-\frac {A (a+b x)^6}{7 a x^7} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {78, 37} \begin {gather*} \frac {(a+b x)^6 (A b-7 a B)}{42 a^2 x^6}-\frac {A (a+b x)^6}{7 a x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 78
Rubi steps
\begin {align*} \int \frac {(a+b x)^5 (A+B x)}{x^8} \, dx &=-\frac {A (a+b x)^6}{7 a x^7}+\frac {(-A b+7 a B) \int \frac {(a+b x)^5}{x^7} \, dx}{7 a}\\ &=-\frac {A (a+b x)^6}{7 a x^7}+\frac {(A b-7 a B) (a+b x)^6}{42 a^2 x^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.03, size = 104, normalized size = 2.36 \begin {gather*} -\frac {a^5 (6 A+7 B x)+7 a^4 b x (5 A+6 B x)+21 a^3 b^2 x^2 (4 A+5 B x)+35 a^2 b^3 x^3 (3 A+4 B x)+35 a b^4 x^4 (2 A+3 B x)+21 b^5 x^5 (A+2 B x)}{42 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x)^5 (A+B x)}{x^8} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.33, size = 119, normalized size = 2.70 \begin {gather*} -\frac {42 \, B b^{5} x^{6} + 6 \, A a^{5} + 21 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 70 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 105 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 42 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 7 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x}{42 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.21, size = 123, normalized size = 2.80 \begin {gather*} -\frac {42 \, B b^{5} x^{6} + 105 \, B a b^{4} x^{5} + 21 \, A b^{5} x^{5} + 140 \, B a^{2} b^{3} x^{4} + 70 \, A a b^{4} x^{4} + 105 \, B a^{3} b^{2} x^{3} + 105 \, A a^{2} b^{3} x^{3} + 42 \, B a^{4} b x^{2} + 84 \, A a^{3} b^{2} x^{2} + 7 \, B a^{5} x + 35 \, A a^{4} b x + 6 \, A a^{5}}{42 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 104, normalized size = 2.36 \begin {gather*} -\frac {B \,b^{5}}{x}-\frac {\left (A b +5 B a \right ) b^{4}}{2 x^{2}}-\frac {5 \left (A b +2 B a \right ) a \,b^{3}}{3 x^{3}}-\frac {5 \left (A b +B a \right ) a^{2} b^{2}}{2 x^{4}}-\frac {A \,a^{5}}{7 x^{7}}-\frac {\left (2 A b +B a \right ) a^{3} b}{x^{5}}-\frac {\left (5 A b +B a \right ) a^{4}}{6 x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.01, size = 119, normalized size = 2.70 \begin {gather*} -\frac {42 \, B b^{5} x^{6} + 6 \, A a^{5} + 21 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 70 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 105 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 42 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 7 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x}{42 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 118, normalized size = 2.68 \begin {gather*} -\frac {x\,\left (\frac {B\,a^5}{6}+\frac {5\,A\,b\,a^4}{6}\right )+\frac {A\,a^5}{7}+x^2\,\left (B\,a^4\,b+2\,A\,a^3\,b^2\right )+x^4\,\left (\frac {10\,B\,a^2\,b^3}{3}+\frac {5\,A\,a\,b^4}{3}\right )+x^5\,\left (\frac {A\,b^5}{2}+\frac {5\,B\,a\,b^4}{2}\right )+x^3\,\left (\frac {5\,B\,a^3\,b^2}{2}+\frac {5\,A\,a^2\,b^3}{2}\right )+B\,b^5\,x^6}{x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 4.42, size = 133, normalized size = 3.02 \begin {gather*} \frac {- 6 A a^{5} - 42 B b^{5} x^{6} + x^{5} \left (- 21 A b^{5} - 105 B a b^{4}\right ) + x^{4} \left (- 70 A a b^{4} - 140 B a^{2} b^{3}\right ) + x^{3} \left (- 105 A a^{2} b^{3} - 105 B a^{3} b^{2}\right ) + x^{2} \left (- 84 A a^{3} b^{2} - 42 B a^{4} b\right ) + x \left (- 35 A a^{4} b - 7 B a^{5}\right )}{42 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________